<?php
class Brand extends AppModel{
    public $useTable  = 'brand';
    public $lang_code = 'vn';
    
    function get_brand()
    {
        $lang_code = $this->lang_code;
        $sql = array(
            "conditions"=> array(
				"lang_code ="=> "$lang_code",
                "status = "=> 1,
			),
			"order" => array('sort_order' => 'asc'),
			);
        $data = $this->find("all",$sql);
		return $data;
    }
}